package com.yz.Graph;

import javax.swing.*;

public class GuiText02 {
    public static void main(String[] args) {
        //显示一个输入框的获取
        //public static String showInputDialog(Object message)
        //JOptionPane.showInputDialog("Enter an input"); //设置输入框的提示内容


        //public static String showInputDialog(Component parentComponent,
        //        Object message, String title, int messageType)
        JOptionPane.showInputDialog(null,"please input","Demo",JOptionPane.INFORMATION_MESSAGE);
    }
}
